home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 010a / baktrack.zip / BAKTRACK.DOC < prev    next >
Text File  |  1990-01-15  |  23KB  |  697 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.          
  8.          
  9.          
  10.          
  11.          
  12.          
  13.          
  14.          
  15.          
  16.          
  17.          
  18.          
  19.          
  20.          
  21.          
  22.                            BAKtrack -- Version 1.5
  23.          
  24.                  (C) Copyright 1989 Rockford Technologies Inc
  25.                              All Rights Reserved
  26.          
  27.          
  28.          
  29.          
  30.          
  31.          
  32.                           Rockford Technologies Inc
  33.                               5126 Potomac Drive
  34.                              Rockford, IL  61107
  35.                                 (815)226-8439
  36.          
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.          BAKtrack V1.5        Rockford Technologies Inc        Page 2
  63.  
  64.  
  65.          
  66.          
  67.          
  68.          
  69.          
  70.                               Table of Contents
  71.          
  72.          
  73.               Copyright Notice ................................. 3
  74.               Disclaimer of Warranty ........................... 3
  75.               Registration Information.......................... 3
  76.               Restricted Permission to Copy .................... 3
  77.          
  78.            I. Introduction ..................................... 4
  79.           II. Installing and Running BAKtrack .................. 5
  80.          III. File Exclusion ................................... 6
  81.           IV. Using the Index File ............................. 7
  82.            V. File Recovery .................................... 8
  83.          
  84.               Release Notes .................................... 9
  85.               BAK Program Manual Page ......................... 10
  86.               RES Program Manual Page ......................... 12
  87.          
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.          BAKtrack V1.5        Rockford Technologies Inc        Page 3
  121.  
  122.  
  123.                                Copyright Notice
  124.          
  125.          BAKtrack is not a public domain program.  The manual and the
  126.          software described by the manual are protected by copyright
  127.          laws.
  128.          
  129.                  (C) Copyright 1989 Rockford Technologies Inc
  130.                              All Rights Reserved
  131.          
  132.          
  133.                             Disclaimer of Warranty
  134.          
  135.          THIS SOFTWARE AND MANUAL ARE SUPPLIED "AS IS" AND WITHOUT
  136.          WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY.
  137.          
  138.          THIS PROGRAM IS SUPPLIED WITHOUT ANY EXPRESS OR IMPLIED
  139.          WARRANTIES WHATSOEVER.  BECAUSE OF THE DIVERSITY OF
  140.          CONDITIONS AND HARDWARE UNDER WHICH THIS PROGRAM MAY BE
  141.          USED, NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS
  142.          OFFERED.
  143.          
  144.          IN NO EVENT WILL ROCKFORD TECHNOLOGIES INC BE LIABLE FOR
  145.          CONSEQUENTIAL, INCIDENTAL, INDIRECT, OR OTHER DAMAGES
  146.          ARISING OUT OF THE USE, OR INABILITY TO USE, THESE PROGRAMS,
  147.          EVEN IF ROCKFORD TECHNOLOGIES INC HAS BEEN ADVISED OF THE
  148.          POSSIBILITY OF SUCH DAMAGES OR CLAIM.
  149.          
  150.          
  151.                            Registration Information
  152.          
  153.          To become a registered user of BAKtrack, send Fifteen
  154.          Dollars ($15.00) to:
  155.          
  156.              Rockford Technologies Inc
  157.              5126 Potomac Drive
  158.              Rockford, IL 61107
  159.          
  160.          In addition to software update notices, you will receive the
  161.          latest version of BAKtrack and two additional programs to
  162.          help with backup chores.  One program interactively builds a
  163.          backup control file.  The other will tell you how many
  164.          diskettes are required to perform a backup.
  165.          
  166.          
  167.                         Restricted Permission to Copy
  168.          
  169.          Rockford Technologies Inc grants permission to copy and
  170.          distribute diskettes containing BAKtrack software and
  171.          documentation.  Distribution fees may be charged but may not
  172.          exceed six dollars ($6).
  173.  
  174.  
  175.  
  176.  
  177.  
  178.          BAKtrack V1.5        Rockford Technologies Inc        Page 4
  179.  
  180.  
  181.          I. Introduction
  182.          
  183.          BAKtrack provides a simple and easy way to back up hard disk
  184.          files to floppy diskettes.  It is smart enough to make daily
  185.          backup chores fast and painless.  BAKtrack provides the
  186.          following features:
  187.          
  188.              o  Performs both full and partial backups.
  189.              o  All backup files are current.  During partial backups
  190.                 non-current files are removed from the existing
  191.                 backup diskettes and replaced by the latest version.
  192.              o  Directories and files may easily be excluded from the
  193.                 backup.
  194.              o  The format of files does not change during backup so
  195.                 that standard DOS utilities can be used to examine
  196.                 and recover backup files.  Files can be copied,
  197.                 typed, or executed from the backup diskettes.
  198.              o  An index is maintained on your hard disk and on the
  199.                 backup diskettes.  The index is a convenient
  200.                 navigation tool for locating files on the hard disk
  201.                 or the backup diskettes.
  202.              o  The index allows fast recovery of one or more files.
  203.          
  204.          Rockford Technologies hopes that you find this software
  205.          useful.  We use the software daily because it is simple to
  206.          operate, quickly performs daily backups, and saves our data
  207.          in a sensible fashion.  You are encouraged to report
  208.          software problems and submit enhancement ideas.
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.          BAKtrack V1.5        Rockford Technologies Inc        Page 5
  237.  
  238.  
  239.          II. Installing and Running BAKtrack
  240.          
  241.          The distribution diskette contains the following files:
  242.          
  243.              README.DOC      Latest and greatest information
  244.              BAKTRACK.DOC    This documentation
  245.              BAK.EXE         BAKtrack backup program
  246.              RES.EXE         BAKtrack restore program
  247.              FULLBAK.BAT     Procedure to perform a full backup
  248.              PARTBAK.BAT     Procedure to perform a partial backup
  249.          
  250.          
  251.          To install BAKtrack on your hard disk, copy the .EXE files
  252.          to a directory on the DOS PATH.  For example, to place the
  253.          software in a directory named C:\USR\BIN, put the BAKtrack
  254.          diskette in drive A: and issue the following command:
  255.          
  256.              COPY A:*.EXE C:\USR\BIN
  257.          
  258.          Two procedures are provided to make it easy to perform
  259.          backups.  To use them, copy the files FULLBAK.BAT and
  260.          PARTBAK.BAT to a directory on the DOS PATH.  These
  261.          procedures assume that all files on drive C: will be backed
  262.          up to drive A:.  The procedures create an index file in the
  263.          root directory named C:\BAK.NDX.  You must perform a full
  264.          backup before you can perform a partial backup.  To do a
  265.          full backup with these procedures, type the following
  266.          command at the DOS prompt:
  267.          
  268.              FULLBAK
  269.          
  270.          BAKtrack will prompt for formatted diskettes to be placed in
  271.          drive A:.  Backup diskettes are numbered and should be
  272.          labeled accordingly.  You should have approximately 30
  273.          formatted diskettes for every 10 megabytes of disk space
  274.          used on the hard drive.  After the backup is complete,
  275.          BAKtrack will copy the index file to a diskette called the
  276.          index disk.  Keep the index on a separate diskette.
  277.          
  278.          After making a full backup, daily partial backups are fast
  279.          and easy.  At the DOS prompt issue the following command:
  280.          
  281.              PARTBAK
  282.          
  283.          BAKtrack will locate the files which have been modified
  284.          since the last backup and replace them on the existing
  285.          backup diskettes.  All new files will also be copied to the
  286.          backup diskettes.  You should have additional formatted
  287.          diskettes ready to handle any new files.
  288.          
  289.  
  290.  
  291.  
  292.  
  293.  
  294.          BAKtrack V1.5        Rockford Technologies Inc        Page 6
  295.  
  296.  
  297.          In order to use more advanced features of BAKtrack, you need
  298.          to learn how to run the BAK program.  You may wish to
  299.          exclude some files and directories from the backup
  300.          procedure, or you may want to put the index file in a
  301.          different location on the hard disk.  The FULLBAK.BAT and
  302.          PARTBAK.BAT procedures may be modified to perform these
  303.          tasks.
  304.          
  305.          
  306.          III. File Exclusion
  307.          
  308.          BAKtrack allows files and directories to be excluded from
  309.          the backup diskettes.  A control file may be specified to
  310.          tell BAKtrack what files should and should not be backed up.
  311.          The control file may be produced with any editor which can
  312.          create ASCII text files.  Each line in the control file is a
  313.          complete directory name, a complete file name, or a wild
  314.          card file name.  The character in the first column of each
  315.          line indicates the operation to perform on the file or
  316.          directory.  A minus character (-) tells BAKtrack to exclude
  317.          the file(s) or directory from the backup diskettes.  Any
  318.          other character tells BAKtrack to back up the file or
  319.          directory.  When a directory is excluded from the backup,
  320.          all the files in the directory will be excluded.
  321.          
  322.          Sometimes only some files in a directory need to be backed
  323.          up.  This can be accomplished by excluding the directory and
  324.          then including the files that need to be backed up.  As an
  325.          example, assume that you have purchased a popular software
  326.          product which installs over one hundred files in the
  327.          directory C:\POPULAR\PRODUCT.  Most of the files never
  328.          change and are easily recovered from the product
  329.          distribution diskettes.  There are, however, three
  330.          configuration files which are difficult to reproduce and
  331.          represent hours of work configuring the system the way you
  332.          like it.  The following control file would let you back up
  333.          the configuration files without wasting time and disk space
  334.          on the product files:
  335.          
  336.              -  C:\POPULAR\PRODUCT
  337.                 C:\POPULAR\PRODUCT\CONFIG1.DAT
  338.                 C:\POPULAR\PRODUCT\CONFIG2.DAT
  339.                 C:\POPULAR\PRODUCT\CONFIG3.DAT
  340.          
  341.          The first line tells BAKtrack to ignore files in the
  342.          C:\POPULAR\PRODUCT directory.  The remaining lines
  343.          explicitly include files in the directory and cause the
  344.          files to be backed up.
  345.          
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.          BAKtrack V1.5        Rockford Technologies Inc        Page 7
  353.  
  354.  
  355.          BAKtrack also lets you exclude entire classes of files by
  356.          using DOS wild card file names.  For example, to exclude all
  357.          temporary files which have a file extension of .TMP, place a
  358.          line in the control file which looks like this:
  359.          
  360.              -  *.TMP
  361.          
  362.          All DOS wild card patterns are supported.  You may also
  363.          exclude a specific file from all directories with a control
  364.          file entry like:
  365.          
  366.              -  C.ERR
  367.          
  368.          
  369.          IV.  Using the Index File
  370.          
  371.          Every line in the index file has two fields.  The first
  372.          field is the diskette number where the backup file is
  373.          stored.  The second field is the original name of the backup
  374.          file.  Files are stored on the backup diskettes in the same
  375.          directory as on the hard disk; only the drive letter is
  376.          different.
  377.          
  378.          The index file is a valuable resource for locating files on
  379.          your system.  To locate a file on your hard drive, use the
  380.          DOS FIND command:
  381.          
  382.              FIND "CONFIG" C:\BAK.NDX
  383.          
  384.          This command will display all lines in the index file which
  385.          contain the text "CONFIG".  A backup which used the control
  386.          file in the previous example would display:
  387.          
  388.                 5,C:\POPULAR\PRODUCT\CONFIG1.DAT
  389.                 5,C:\POPULAR\PRODUCT\CONFIG2.DAT
  390.                 5,C:\POPULAR\PRODUCT\CONFIG3.DAT
  391.          
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.          BAKtrack V1.5        Rockford Technologies Inc        Page 8
  411.  
  412.  
  413.          
  414.          The index is also handy for quickly recovering one or two
  415.          deleted files.  Use the DOS FIND command to find out which
  416.          backup diskette the file is on, then copy the file back to
  417.          your hard disk.  For example, assume that the file
  418.          LETTER.TXT was accidentally deleted.  Issue the following
  419.          command:
  420.          
  421.              FIND "LETTER.TXT" C:\BAK.NDX
  422.          
  423.          The output from the above command might look like this:
  424.          
  425.              12,C:\USER\DATA\LETTER.TXT
  426.          
  427.          This tells you that the file is on backup diskette number
  428.          12.  Place backup diskette number 12 in drive A: and issue
  429.          the following command to restore the file:
  430.          
  431.              COPY A:\USER\DATA\LETTER.TXT C:\USER\DATA\LETTER.TXT
  432.          
  433.          Notice that files are saved on the backup diskettes in the
  434.          same directory as on the hard drive.
  435.          
  436.          
  437.          V.  File Recovery
  438.          
  439.          BAKtrack includes a restore program named RES.EXE.  The
  440.          restore program will restore all files listed in the index.
  441.          If you only want to recover some of the files, make a copy
  442.          of the index and edit it to remove files that you do not
  443.          want restored.
  444.          
  445.          If you have a catastrophic hard disk failure, you must
  446.          reformat and install the DOS system files before performing
  447.          full file recovery.  BAKtrack does not process HIDDEN or
  448.          SYSTEM files and cannot install DOS on the hard drive.
  449.          
  450.          See the command description for examples and details on how
  451.          to use the RES program.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.          BAKtrack V1.5        Rockford Technologies Inc        Page 9
  469.  
  470.  
  471.          Release Notes:
  472.          
  473.          
  474.          Version 1.4
  475.          
  476.              1. The BAK program now allows diskettes to be formatted
  477.                 during backup.  This option is only available during
  478.                 full backups and when additional diskettes are
  479.                 required at the end of a partial backup.
  480.          
  481.              2. The initial copyright notice now reports which
  482.                 BAKtrack program is running.
  483.          
  484.              3. Several typographical problems were corrected in the
  485.                 manual and some topics are better explained.
  486.          
  487.          
  488.          Version 1.5
  489.          
  490.              1. It was possible to run out of disk space when trying
  491.                 to build a new directory on the target diskette. 
  492.                 This situation is now detected and the user is
  493.                 prompted for a new diskette.
  494.          
  495.              2. Full backups will save the old index under name
  496.                 bak.old. If this file already exists, it is deleted
  497.                 and the backup wil continue normally.
  498.          
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.          BAKtrack V1.5       Rockford Technologies Inc        Page 10
  527.  
  528.  
  529.          NAME
  530.              bak     BAKtrack backup program
  531.          
  532.          SYNOPSYS
  533.              bak [-?] [-f] [-v] [-u] [-ddrive] [-iindex] [-ppath]
  534.              [-ccontrol]
  535.          
  536.              -f Perform a full backup (default is incremental)
  537.              -v Verbose flag
  538.              -u Unix file names
  539.              -d Target drive for backup (default is A:)
  540.              -i Alternate name for index file (default is BAK.NDX)
  541.              -p Backup begins in this directory (default is the      
  542.                 current directory)
  543.              -c Control file name
  544.              -? Help
  545.          
  546.          DESCRIPTION
  547.          The program BAK will copy files from one drive to another
  548.          and create an index of the files copied.  By default, files
  549.          are copied to drive A: beginning in the current default
  550.          directory.  The directory tree is descended and all files in
  551.          the tree are processed.  By default, BAK performs a partial
  552.          backup and expects an index file named BAK.NDX in the
  553.          current default directory.  Only files which have been
  554.          modified since the last backup are processed during a
  555.          partial backup.  The default options may be changed with
  556.          command line arguments.
  557.          
  558.              The -f flag causes a full backup to be performed.  All
  559.              files will be copied, regardless of their modification
  560.              status, and a new index file will be created.
  561.          
  562.              The -v flag will print file names that are skipped.
  563.          
  564.              The -u flag converts DOS file names to UNIX file names
  565.              by replacing all backslashes (\) with slashes (/) and
  566.              changing all characters to lower case.
  567.          
  568.              The directory where BAK begins may be specified with the
  569.              -p flag.  A complete directory name is expected.  This
  570.              causes BAK to begin in a different directory than the
  571.              current default directory.
  572.          
  573.              By default the index file is placed in the current
  574.              default directory and named BAK.NDX.  The name and
  575.              location of the index file may be changed with the -i
  576.              flag.
  577.          
  578.              The default destination drive A: may be changed with the
  579.              -d flag.
  580.  
  581.  
  582.  
  583.  
  584.          BAKtrack V1.5       Rockford Technologies Inc        Page 11
  585.  
  586.  
  587.              A backup control file may be specified with the -c flag.
  588.              The control file specifies which files get copied to the
  589.              backup diskettes.  If information about a file is not
  590.              contained in the control file, then BAK will copy the
  591.              file.  The control file is an ASCII text file.  Each
  592.              line in the control file may specify a file name, a
  593.              directory name, or a wild card name.  A full path name
  594.              must be used for all file and directory names.  The
  595.              character in the first column of each line determines
  596.              how the file is processed.  A minus character (-) tells
  597.              BAK not to copy the file, or if the name is a directory,
  598.              not to copy any files in the directory.  Any other
  599.              character causes the file or directory to be copied. 
  600.              Files will always be copied if they are included in the
  601.              control file, even when the directory has been excluded.
  602.              A file name without a path and optionally containing
  603.              wild card characters specifies a class of files to be
  604.              excluded from the backup diskettes. For example,
  605.              consider the following control file:
  606.          
  607.                 -    C.ERR
  608.                 -    *.OBJ
  609.                 -    C:\LOTUS
  610.                 -    C:\FREELANC
  611.                 -    C:\FREELANC\FONTS
  612.                 -    C:\FREELANC\SYMBOLS
  613.                      C:\FREELANC\SYMBOLS\MISC.DRW
  614.                      C:\FREELANC\SYMBOLS\LOGOS.DRW
  615.          
  616.              All C.ERR files and files which have a .OBJ extension
  617.              will not be copied to the backup diskettes.  All files
  618.              in the C:\LOTUS, C:\FREELANC, C:\FREELANC\FONTS, and
  619.              C:\FREELANC\SYMBOLS directories will not be copied to
  620.              the backup diskettes.  The files MISC.DRW and LOGOS.DRW
  621.              in the C:\FREELANC\SYMBOLS directory will be copied,
  622.              however.
  623.          
  624.          EXAMPLES
  625.              The command
  626.          
  627.                 bak -f -pC: -iC:\BAK.NDX -cC:\BAK.CTL
  628.          
  629.              specifies full backup of all files on hard disk C: to
  630.              drive A:, places the on-line index in the root directory
  631.              of drive C:, and uses a control file named C:\BAK.CTL.
  632.          
  633.              The command
  634.          
  635.                 bak -pC: -iC:\BAK.NDX -cC:\BAK.CTL
  636.          
  637.              Specifies a partial backup using the same files as the
  638.              first command.
  639.  
  640.  
  641.  
  642.          BAKtrack V1.5       Rockford Technologies Inc        Page 12
  643.  
  644.  
  645.          NAME
  646.              res     BAKtrack restore program
  647.          
  648.          SYNOPSIS
  649.              res [-?] [-ddrive] [-iindex] [-r] [-s]
  650.          
  651.              -d Drive containing backup files (default is A:)
  652.              -i Alternate name for index file (default is BAK.NDX)
  653.              -r Silently replace existing files
  654.              -s Silently create directories
  655.              -? Help
  656.          
  657.          DESCRIPTION
  658.              The program RES will copy all files named in the index
  659.              file BAK.NDX to their original locations.  The backup
  660.              files will come from drive A:.  If a directory does not
  661.              exist, the user is asked if the directory should be
  662.              created.  If a file already exists, the user is asked if
  663.              it should be replaced.
  664.          
  665.              The -d flag may be used to specify a drive other than A:
  666.              for the backup files.
  667.          
  668.              The -i flag specifies a different index file name.  If a
  669.              drive letter is given and it matches the drive where the
  670.              backup files are located, then the index is retrieved
  671.              from the index disk.
  672.          
  673.              The -r flag will cause files to be replaced without
  674.              asking the user for confirmation.
  675.          
  676.              The -s flag will cause directories to be created without
  677.              asking the user for confirmation.
  678.          
  679.          EXAMPLES
  680.              The command
  681.          
  682.                 res -iA:\BAK.NDX -r -s
  683.          
  684.              will restore all of drive C: from backup files using
  685.              drive A:. The index will come from the index disk. 
  686.              Directories and files will be created and copied without
  687.              user confirmation.
  688.          
  689.              To only restore some files, make a copy of the index
  690.              file and remove the undesired files from the index.  Use
  691.              the modified index as input to the restore program.  The
  692.              following commands demonstrate this method:
  693.          
  694.                 copy  A:\BAK.NDX  TEMP.NDX
  695.                 edlin TEMP.NDX
  696.                 res   -iTEMP.NDX
  697. x